﻿using System;
using System.Collections.Generic;
using Mnk.Library.ParallelNUnit.Core;
using Mnk.Library.ParallelNUnit.Packages;

namespace Mnk.Library.ParallelNUnit.Contracts
{
    public interface IMultiTestsFixture
    {
        IList<ExecutionContext> Refresh(IEnumerable<ITestsConfig> configs, int assembliesInParallel);
        void Run(IEnumerable<ITestsConfig> configs, int assembliesInParallel, IList<ExecutionContext> executionContexts, ITestsUpdater updater, Action<ExecutionContext> onEnd = null, IList<Result> checkedTests = null);
    }
}
